﻿@model MvcTasks.Models.RandomTask

@{
    ViewBag.Title = "GetMe";
}

<h2>Do this now!!!</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table class="table">
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.Title)
        </th>
       
        <th>
            @Html.DisplayNameFor(model => model.Genre)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Priority)
        </th>
        <th></th>
    </tr>


    <tr>
        <td>
            @Html.DisplayFor(modelItem => Model.Title)
        </td>
        
        <td>
            @Html.DisplayFor(modelItem => Model.Genre)
        </td>
        <td>
            @Html.DisplayFor(modelItem => Model.Priority)
        </td>
        <td>
            @Html.ActionLink("Details", "ItemDetails", new { id = Model.ID }) 
        </td>
        
    </tr>


</table>
